package com.zhentao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhentao.model.article.dtos.ArticleHomeDto;
import com.zhentao.model.article.pojo.ApArticle;
import org.apache.commons.net.nntp.Article;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ArticleMapper extends BaseMapper<ApArticle> {
    //客户端 首页文章
    List<ApArticle> load(@Param("dto") ArticleHomeDto dto,
                         @Param("type") Integer i);
}
